.user {
  padding-bottom: 42px;

  &-avatar {
    display: block;
    width: 6rem;
    height: 6rem;
    margin: 1.5rem auto 1rem;
    border-radius: 999px;
    border: 1px solid var(--secondary);
    object-fit: cover;
    cursor: pointer;
  }

  &-name {
    font-size: 1.3rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;

    &-input.m {
      margin: auto;
      display: flex;
      max-width: 15rem;
      .user-name-input-finish_icon {
        width: 1.6em;
        height: 1.6em;
        cursor: pointer;
      }
    }

    &-icon {
      margin-left: 0.5em;
      width: 1em;
      height: 1em;
      cursor: pointer;
    }
  }

  &-menu {
    margin: 1rem 1rem 0;
    background-color: var(--bg-l);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    box-shadow: 1px 3px 7px -2px #0000000a;

    &-item {
      line-height: 1.7;
      display: flex;
      align-items: center;
      padding: 0.6rem;
      cursor: pointer;

      &:not(:first-child) {
        border-top: 1px solid var(--bg);
      }

      &-icon {
        width: 1.2rem;
        height: 1.2rem;
        margin-right: 0.3rem;

        &.arrow {
          width: 1rem;
          height: 1rem;
        }
      }
    }
  }

  .user-logout {
    margin: auto;
    margin-top: 4rem;
    display: flex;
  }
}
